#include "mainwindow.h"
#include <QApplication>
#include "airmouse.h"
#include <QMessageBox>

int main(int argc, char *argv[])
{
    //AirMouse airmouse;
    //Controller controller;
    //controller.addListener(airmouse);
    //controller.setPolicyFlags(Controller::POLICY_BACKGROUND_FRAMES);

    Q_INIT_RESOURCE(systray);

    QApplication a(argc, argv);

    QApplication::setQuitOnLastWindowClosed(true);

    MainWindow w;
    w.show();

    return a.exec();
}
